package org.xserver.bootstrap;

import org.xserver.component.core.XServerHttpContextAttachment;

/**
 * Like the tomcat, XServer support user-defined some behaves at specific
 * lifecycle.
 * 
 * @author idoldefine
 * @since 2014/3/4
 */
public interface XServerContextListener {
	public abstract void contextInitialized();

	public abstract void contextDestroyed();

	public abstract void contextProcess(XServerHttpContextAttachment attachment) throws Exception;
}
